package com.gitee.andy.NettyRpcServerSample;

import org.springframework.stereotype.Component;

import com.gitee.andy.NettyRpcApiSample.CalcService;

@Component
public class CalcServiceImpl implements CalcService {

	@Override
	public int add(int a, int b) {
		return a + b;
	}

}
